package com.ejiaoyi.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ejiaoyi.common.entity.ApiAuth;

/**
 * <p>
 * API接口认证信息 服务类
 * </p>
 *
 * @author unknownChivalrous
 * @since 2020-04-01
 */
public interface IApiAuthService extends IService<ApiAuth> {

    /**
     * API接口认证
     *
     * @param apiName  API NAME
     * @param platform 平台授权码
     * @param apiKey   API KEY
     * @return 是否认证成功
     */
    boolean authentication(String apiName, String platform, String apiKey);
}
